package com.lx.ngsl.exam.autopaper.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import com.lx.ngsl.exam.autopaper.entity.PaperEntity;
import com.lx.ngsl.exam.quest.entity.QuestEntity;

public interface AutoPaperRepository extends JpaRepository<PaperEntity, String> {
	Page<PaperEntity> findAll(Specification<PaperEntity> spec, Pageable pageable);
	List<PaperEntity> findByStatus(String status);
	PaperEntity findByTitle(String title);
}
